<%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2020/12/10
  Time: 16:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
</head>
<body>
<form method="post" action="${pageContext.request.contextPath}/dept/update" class="layui-form">
    <div class="layui-form-mid layui-word-aux">${requestScope.msg}</div>
    <div class="layui-form-item">
        <label class="layui-form-label">部门编号</label>
        <div class="layui-input-inline">
            <input type="text" name="deptNo" value="<%=request.getParameter("deptNo")%>" required  lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">部门名称</label>
        <div class="layui-input-inline">
            <input type="text" name="dname" value="<%=request.getParameter("dname")%>" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">部门介绍</label>
        <div class="layui-input-inline">
            <input type="text" name="remark" value="<%=request.getParameter("remark")%>" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否启用</label>
        <div class="layui-input-inline">
            <input type="text" name="status" value="<%=request.getParameter("status")%>" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-inline">
            <input type="hidden" name="deptid" value="<%=request.getParameter("deptid")%>" required  lay-verify="required"  autocomplete="off" class="layui-input">
        </div>
    </div>
    <%--<input type="submit"class="layui-btn layui-btn-normal layui-btn-ss" value="添加">--%>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit"class="layui-btn layui-btn-normal layui-btn-ss">修改</button>
            <button type="reset" class="layui-btn layui-btn-normal layui-btn-ss">重置</button>
        </div>
    </div>
</form>
</body>
</html>

